﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Prontuario.Master" AutoEventWireup="true" CodeBehind="CadastroProntuario.aspx.cs" Inherits="ProntuarioEletronico.Prontuario1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
      <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
     <fieldset style="border-style: groove">
        <legend>Cadastro do Prontuário</legend>
        
         
         
         <div class="formAlin">
         
          <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Paciente   <asp:ImageButton ID="setaFormPaciente" runat="server" style="margin-left: 392px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormPaciente_Click" />
              &nbsp;
              </h3>
              </div>
             <asp:Panel runat="server" ID="PanelPaciente" Visible="False">
                  <!--Paciente -->
                 <table>
                           <tr>
                        <td class="auto-style1">
                            Nome: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtValidarNome" Width="300px"></asp:TextBox>
                            <asp:Button runat="server" ID="BtBuscarPaciente" Text="Validar"/>


                        </td>
                        
                    </tr>
                   
                   </table>


             </asp:Panel>
             
              <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Anamnese   <asp:ImageButton ID="setaFormAnamnese" runat="server" style="margin-left: 382px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormAnamnese_Click"  />
              &nbsp;
              </h3>
              </div>
                 <asp:Panel runat="server" ID="PanelAnamnese" Visible="False">
                  <!--Anamnese -->
                 <table>
                           <tr>
                        <td class="auto-style1">
                            Nº Prontuário: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtNumeroProntuario" Width="86px" ReadOnly="True" Height="16px"></asp:TextBox>
                            
                        </td>
                        
                    </tr>
                     <tr>
                        <td class="auto-style1">
                            Queixa Principal: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtQueixaAnamnese" Width="300px" Height="42px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Histórico da Doenças: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtHistoricodaDoencas" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Histórico Médico do Paciente: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtHistoricoMedico" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Histórico da família: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtHistoricoFamilia" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                    <tr>
                        <td class="auto-style1">
                            Histórico Pessoal: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox5" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                      <tr>
                        <td class="auto-style1">
                            Revisão do Sistema: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox6" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Alergias: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtAlergias" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Comentários: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtComentarios" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     

                   </table>
                     
             </asp:Panel>
              <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Exame Físico   <asp:ImageButton ID="setaFormExameFisico" runat="server" style="margin-left: 363px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormExameFisico_Click1"   />
              &nbsp;
              </h3>
              </div>
                 <asp:Panel runat="server" ID="PanelExameFisico" Visible="False">
                  <!--Exame Físico -->
                 <table>
                     <tr>
                        <td class="auto-style1">
                            Pressão Arterial: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtPressaoArteri" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Temperatura: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtTemperatura" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Peso: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtPeso" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Altura: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtAltura" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                    <tr>
                        <td class="auto-style1">
                            Estetoscópio: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtEstetoscopio" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                      <tr>
                        <td class="auto-style1">
                            Resultado Inspeção: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtInspecao" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Resultado Ausculta: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtAusculta" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Resultado Palpação: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtPalpacao" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Resultado Percussão: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox1" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     

                   </table>
                     
             </asp:Panel>
               <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Exames  <asp:ImageButton ID="setaFormExame" runat="server" style="margin-left: 403px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormExame_Click"   />
              &nbsp;
              </h3>
              </div>
                 <asp:Panel runat="server" ID="PanelExames" Visible="False">
                  <!--Exames -->
                 <table>
                     <tr>
                        <td class="auto-style1">
                            Nome do Exame: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtNomeExame" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Data Exame: </td>
                         <td class="auto-style2">
                            <asp:TextBox ID="txtDataExame" runat="server" Width="137px" Height="16px"></asp:TextBox>
                             <asp:CalendarExtender ID="txtDataExame_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtDataExame">
                             </asp:CalendarExtender>
                        </td>
                        
                     </tr>
                     
                      <tr>
                        <td class="auto-style1">
                            Resultado : </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtResultado" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Hipótese Diagnóstica: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtHipoteseDiag" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Diagnóstico: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtDiagnostico" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Exame Realizado por: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtRealizadopor" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                      <tr>
                        <td class="auto-style1">
                            Exame Supervisionado por: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtSupervisPor" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>

                   </table>
                     
             </asp:Panel>
             <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Procedimentos  <asp:ImageButton ID="setaFormProcedimentos" runat="server" style="margin-left: 347px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormProcedimentos_Click"    />
              &nbsp;
              </h3>
              </div>
                 <asp:Panel runat="server" ID="PanelProcedimentos" Visible="False">
                  <!--Procedimentos -->
                 <table>
                     <tr>
                        <td class="auto-style1">
                            Nome do Procedimento: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtProcedimento" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Data Procedimento: </td>
                         <td class="auto-style2">
                            <asp:TextBox ID="txtDataProcedimento" runat="server" Width="137px" Height="16px"></asp:TextBox>
                             <asp:CalendarExtender ID="txtDataProcedimento_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtDataProcedimento">
                             </asp:CalendarExtender>
                        </td>
                        
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Descrição do Procedimento: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox7" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Procedimento Realizado por: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtProcedRealizadoPor" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                <tr>
                        <td class="auto-style1">
                            Procedimento supervisionado por: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox9" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>

                   </table>
                     
             </asp:Panel>
                          <div style="background-image: url('IMG/BaraForm.png'); height: 30px; width: 593px; background-repeat: no-repeat;"  >
              <h3>Saída  <asp:ImageButton ID="setaFormSaida" runat="server" style="margin-left: 417px; margin-top: 4px; " Height="16px" Width="18px" ImageUrl="~/IMG/baixoSeta.png" BorderColor="Gray" BorderStyle="Solid" OnClick="setaFormSaida_Click"  />
              &nbsp;
              </h3>
              </div>
                 <asp:Panel runat="server" ID="PanelSaida" Visible="False">
                  <!--Saída -->
                 <table>
                     
                     <tr>
                        <td class="auto-style1">
                            Data Saída: </td>
                         <td class="auto-style2">
                            <asp:TextBox ID="txtDataSaida" runat="server" Width="137px" Height="16px"></asp:TextBox>
                             <asp:CalendarExtender ID="CalendarExtenderDataSaida" runat="server" Enabled="True" TargetControlID="txtDataSaida">
                             </asp:CalendarExtender>
                        </td>
                        
                     </tr>
                     <tr>
                        <td class="auto-style1">
                            Tipo Saída: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox8" Width="137px" Height="16px" ></asp:TextBox>

                        </td>
                     </tr>
                     <tr>
                        <td class="auto-style1">
                           Condição: </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="TextBox4" Width="300px" Height="40px" TextMode="MultiLine"></asp:TextBox>

                        </td>
                     </tr>
                     
               
                   </table>
                     
             </asp:Panel>
             <br/>
              
                  <br />
                    <br />
                 <asp:Button ID="Button1" runat="server" Text="Cadastrar" Style="margin-left: 195px" />
           
        </div>
    </fieldset>  
</asp:Content>




